<template>
  <a-select v-bind="$attrs" value="更 多" :dropdownMatchSelectWidth="false">
    <a-select-option value="import" v-if="permission.import">
      <import-modal />
    </a-select-option>
    <a-select-option value="export" v-if="permission.export">
      <export-drawer />
    </a-select-option>
    <a-select-option value="file-operations" v-if="permission.move">
      <transfer-button />
    </a-select-option>
    <a-select-option value="tag">
      <tag-button />
    </a-select-option>
  </a-select>
</template>
<script setup>
import ExportDrawer from './export-drawer.vue'
import ImportModal from './import-modal.vue'
import TransferButton from './table-toolbar-transfer.vue'
import TagButton from './table-toolbar-tag.vue'
import { usePermission } from './provide-context.js'
/**
 * 全局数据
 */
let permission = usePermission()
</script>
<style scoped lang="less"></style>
